﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Data;
using IToursDataService.Models;

namespace IToursDataService
{
    // 注意: 使用“重构”菜单上的“重命名”命令，可以同时更改代码和配置文件中的接口名“IRestaurantOrderCtrl”。
    [ServiceContract]
    public interface IRestaurantOrderCtrl
    {
        [OperationContract(Name = "GetRestaurantOrderDataWithoutScheduleID")]
        DataTable GetRestaurantOrderData(string tourgroupId);
        [OperationContract(Name = "GetRestaurantOrderDataWithScheduleID")]
        DataTable GetRestaurantOrderData(string tourGroupId, string localPlanScheduleId);
        [OperationContract]
        DataTable GetRestaurantInfoForPrint(string tourGroupID);
        [OperationContract]
        int UpdateRestaurantOrderData(RestaurantOrderEntity restaurantOrder);
        [OperationContract]
        int CreateRestaurantOrderData(RestaurantOrderEntity restaurantOrder);
        [OperationContract]
        int DeleteRestaurantOrder(string restaurantOrderId);
    }
}
